<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>抱抱堂-摇摇乐</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="{:C('IMG_PATH')}/static/css/main.css?v=12">
    <style>
        .mycard-bg .list section.richtext{
            flex-direction: row;
            flex-wrap:  wrap;
            justify-content: flex-start;
        }
        .mycard-bg .list section.richtext p.firstline{
            width: 100%;
        }
    </style>
</head>
<body class="mycard-bg">
<section class="list">
    <ul>
        <li class="brief">
            <div>
                <h5>{$cardDetail.card_name}</h5>
                <p>中奖时间:{$cardDetail.winning_time}</p>
            </div>
            <section><img src="{:U('Portal/Index/createQRcode',array('num'=>$cardDetail['card_num']))}" />
            </section>
            <section><p>卡券号:{$cardDetail.card_num}</p></section>
            <!--<section class="money">
                <p>{$cardDetail.card_intro}</p>
            </section>-->
            <if condition="($cardDetail['card_sdate'] neq '') AND ($cardDetail['card_edate'] neq '')
                AND ($cardDetail['card_sdate'] neq '0000-00-00') AND ($cardDetail['card_edate'] neq '0000-00-00')">
                <section class="money">
                    <p>卡券有效期:{$cardDetail.card_sdate}~{$cardDetail.card_edate}</p>
                </section>
            </if>
            <if condition="$cardDetail['user_notice'] neq ''">
            <section class="money richtext">
                <p class="firstline">使用须知:</p>
                <p>{$cardDetail.user_notice}</p>
            </section>
            </if>
        </li>
    </ul>
</section>
<footer class="white"><img src="{:C('IMG_PATH')}/static/img/logo_gray.png" /></footer>
</body>
</html>